<!--TPL:if $op-->
<TABLE class="commit_table" width="100%" align="center" cellspacing="5" cellpadding="0">
    <TR>
        <TD width="100%" class="home_caption">
            <TABLE border="0">
                <TR>
                    <TD nowrap align="left" width="100%">
                        <!--TPL:"Watchlist update"|gettext-->
                    </TD>
                </TR>
            </TABLE>
        </TD>
    </TR>
    <TR>
        <TD>
            <!--TPL:if $op == 'watch'-->
            <!--TPL:"We will watch release"|gettext-->
                <a href="/release/<!--TPL:$release->id-->" class="button">
                    <!--TPL:$release->name-->
                </a>
                <!--TPL:"By"|gettext--> <a href="/artist/<!--TPL:$release->artist_name|wrapArtistLink-->" class="button">
                    <!--TPL:$release->artist_name-->
                </a> <!--TPL:"for you!"|gettext-->
            <!--TPL:elseif $op == 'remove'-->
            <!--TPL:"Release"|gettext--> <a href="/release/<!--TPL:$release->id-->" class="button">
                    <!--TPL:$release->name-->
            </a>
            <!--TPL:"By"|gettext--> <a href="/artist/<!--TPL:$release->artist_name|wrapArtistLink-->" class="button">
                    <!--TPL:$release->artist_name-->
                </a> <!--TPL:"removed from your watch-list."|gettext-->
            <!--TPL:elseif $op == 'remove_artist'-->
            <!--TPL:"Artist"|gettext--> <a href="/artist/<!--TPL:$artist->name|wrapArtistLink-->" class="button">
                <!--TPL:$artist->name-->
                </a> <!--TPL:"removed from your watch-list."|gettext-->
            <!--TPL:/if-->
        </TD>
    </TR>
</TABLE>
<BR>
<!--TPL:/if-->

<div class="block">
    <table class="data-wrapper">
        <tr>
            <td class="header">
                <div class="menu">
                    <a href="/watch?view=releases"<!--TPL:if $view == 'releases'-->class="active"<!--TPL:/if-->><!--TPL:"Releases"|gettext--></a>
                </div>
                <div class="menu">
                    <a href="/watch?view=artists"<!--TPL:if $view == 'artists'-->class="active"<!--TPL:/if-->><!--TPL:"Artists"|gettext--></a>
                </div>
                <div class="filter">
                    <form action="/watch" method="GET" style="display: inline;">
                        <input type="hidden" name="view" value="<!--TPL:$view-->">
                        <input type="hidden" name="items" value="<!--TPL:$items-->">
                        <small><!--TPL:"filter by tag"|gettext-->:</small>
                        <input type="text" size="10" class="flat" id="filter" name="filter">
                    </form>
                </div>
            </td>
        </tr>
        <tr>
            <td id="content" class="content">
                <!--TPL:include file="_watch_$view.block.tmpl.html"-->
            </td>
        </tr>
    </table>
</div>